import {http, jsonRequest, searchRequest} from "@utils/resource";

export const WechatMedia = {
    search: (table, reqCriteria) => searchRequest(table, reqCriteria, "/wechat/media/materialNewsBatchGet"),
}

export const WechatMenu = {
    create: (data) => jsonRequest('/wechat/menu/create', 'post', data),
    get: () => http.get('/wechat/menu/get'),
}